package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.List;
import java.util.Map;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工填写的动态字段的值】详情展示对象")
@Data
public class EmpFieldValueVO extends BaseVO {

    private static final long serialVersionUID = -1941155120449434220L;

    @ApiModelProperty(notes = "模块编码")
    private String moduleCode;

    @ApiModelProperty(notes = "字段是多条还是单个")
    private Boolean multiple;

    @ApiModelProperty(notes = "是否用POST请求")
    private Boolean isPost;

    @ApiModelProperty(notes = "分组字段名称")
    private String groupFieldName;

    @ApiModelProperty(notes = "单条时的值")
    private Map<String, String> data;

    @ApiModelProperty(notes = "多条时的值")
    private List<Map<String, String>> listData;
}
